QT = core concurrent
CONFIG += c++17 cmdline

HEADERS += \
    editor/tvedit.h
SOURCES += \
        editor/tvedit1.cpp \
        editor/tvedit2.cpp \
        editor/tvedit3.cpp \
        main.cpp

#这是git clone 的文件夹路径
TVISION_PATH = $$PWD/../3rdlibs/tvision
#一般构建 tvision 的位置是在路径下的 build/，如果考虑多个平台，则外加平台名称。
#在windows下，我们的msys2 ucrt64环境下，构建位置是在 $$TVISION_PATH/build/ucrt64

INCLUDEPATH += $$TVISION_PATH/include
#Only for this example
INCLUDEPATH += $$TVISION_PATH/include/tvision/compat/borland

linux: LIBS +=-lcurses -lgpm -L$$TVISION_PATH/linux64
windows: LIBS +=-L$$TVISION_PATH/ucrt64
LIBS +=   -ltvision


